package com.isunland.managesystem.ui;

import android.support.v4.app.Fragment;
import com.isunland.managesystem.entity.ShouldGgatherPay;

public class ShouldPayCountListActivity extends SingleFragmentActivity {

  @Override protected Fragment createFragment() {
    String type = getIntent().getStringExtra(ShouldCountListFragment.EXTRA_TYPE);
    ShouldGgatherPay gatherQuery = (ShouldGgatherPay) getIntent().getSerializableExtra(
        ShouldCountListFragment.EXTRA_GATHER_VALUE);
    ShouldGgatherPay payQuery = (ShouldGgatherPay) getIntent().getSerializableExtra(
        ShouldCountListFragment.EXTRA_PAY_VALUE);
    return ShouldCountListFragment.newInstance(type, gatherQuery, payQuery);
  }
}
